<?php

class Application_Form_Agenda extends Zend_Form
{

    public function init()
    {
        $this->setName('add_agenda');
        $id = new Zend_Form_Element_Hidden('idAgenda');
        $nom = new Application_Form_InText('intitule', 'Intitulé');
        
        $submit = new Zend_Form_Element_Submit('submit');
        $submit->setAttrib('id', 'submitbutton')->setLabel('OK');

        $elements = array($id, $nom, $submit);
        $this->addElements($elements);
    }


}